package com.czb.server.pojo;

/**
 * 消息状态
 */
public class MailConstants {
    //投递中
    public static final Integer DELIVERING=0;

    //投递成功
    public static final  Integer SUCCESS=0;

    //投递失败
    public static final  Integer FAILURE=0;

    //最大投递次数
    public static final  Integer MAX_TRY_COUNT=3;

    //消息超时时间
    public static final  Integer MSG_TIMEOUT=1;

    //投递失败
    public static final  String MAIL_QUEUE_NAME="mail.queue";

    //交换机
    public static final String MAIL_EXCHANGE_NAME="mail.exchange";

    //路由键
    public static final String MAIL_ROUTING_key_NAME="mail.routing.key";
}
